export default function exclusive(
	obj: Record<PropertyKey, unknown>,
	key: PropertyKey
): Record<PropertyKey, unknown> {
	for (const prop in obj) {
		if (Object.prototype.hasOwnProperty.call(obj, key) && prop !== key)
			obj[prop] = '';
	}
	return obj;
}
